package com.eas.biz.framework.dao;

import java.util.List;

import com.eas.biz.framework.BaseQuery;

public interface GenericDao<T> {

    public T selectById(long id);

    public long insert(T object);

    public int deleteById(long id);

    public int update(T object);

    public List<T> selectByQuery(BaseQuery query);

    public int countByQuery(BaseQuery query);
}
